/**
 *
 * The <code>BitmapMaterial</code> class loads Bitmaps from the BitmapData
 * 
 * @author Tiago Diaz, tiagoadp@gmail.com
 * @release 20/11/2009
 * @version 1.0
 * 
 */

package org.flash3d.materials.basic
{
	import flash.display.BitmapData;
	
	import org.flash3d.core.materials.Material;
	
	public class BitmapMaterial extends Material
	{
		public function BitmapMaterial(_bmp:BitmapData,_name:String)
		{
			super();
			_material.type = 'Bitmap';
			_material.texture = _bmp;
			_material.name = _name;
		}
	}
}